<%--
  Created by IntelliJ IDEA.
  User: Alta Y
  Date: 2019/9/28
  Time: 15:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>公告详情页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="${pageContext.request.contextPath}/css/base.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="${pageContext.request.contextPath}/css/annDetail.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="${pageContext.request.contextPath}/css/login.css" />
    <link rel="stylesheet" href="${pageContext.request.contextPath}/fonts/iconfont.css">
    <script src="${pageContext.request.contextPath}/js/annDatil.js"></script>
</head>
<body>
<div class="head">
    <div class="headbg">
        <div class="w head_center">
            <div class="head_center_left">
                <img class="logo" src="${pageContext.request.contextPath}/images/交易 白.png">
                <div class="title">
                    <h1>煤炭贸易电商平台</h1>
                    <h2>COAL TRADING E-COMMERCE PLATFORM </h2>
                </div>
            </div>
            <div class="head_center_right">
                <div class="main_bt">
                    <a href="main.html">
                        <p>首页</p>
                    </a>
                </div>
                <span></span>
                <div class="login_bt">
                    <p>登录</p>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="w body">
    <p class="mbx">首页 > 公告详情</p>
    <div class="anndiv">
        <span class="topleft_span"></span>
        <span class="bottomright_span"></span>
        <p class="ann_title">${ainfo.title}</p>
        <p class="ann_time"><fmt:formatDate value="${ainfo.create_date}" pattern="yyyy-MM-dd" /></p>
        <p class="ann_content">${ainfo.content}</p>
    </div>
</div>
<div class="foot">
    <p>地址：东莞市松山湖大道大学路一号 邮编：523000 电话：13433634507 邮箱：DGUT-3313@edu.cn</p>
</div>
<div class="loginbg">
    <!-- 登陆卡片 -->
    <div class="logindiv">
        <!-- 登陆表单 -->
        <form action="login" method="post">
            <div class="tt">
                <p class="login_title">登录<span> LOGIN IN</span></p>
                <!-- <a href="#" class="login_forgetpasssword">忘记密码</a> -->
                <div class="close_logindiv" ><img src="${pageContext.request.contextPath}/images/关 闭.png" alt=""></div>
            </div>
            <div class="usernamediv">
                <span class="iconfont icon-zhanghu"></span>
                <input class="username" type="text" name="username" placeholder="账户名">
            </div>
            <div class="passworddiv">
                <span class="iconfont icon-mima"></span>
                <input class="password" type="password" name="password" placeholder="密码">
            </div>
            <div class="yzmdiv">
                <span class="iconfont icon-yanzhengma"></span>
                <input class="yzm" type="text" name="code" placeholder="验证码">
                <img id="captcha_img" alt="点击更换"  title="点击更换"
                     onclick="changeVerifyCode(this)" src="../Kaptcha"/>
            </div>
            <input type="submit" value="登录" class="buttom">
        </form>
    </div>
</div>
<script>
    function changeVerifyCode(img) {
        img.src = "../Kaptcha?" + Math.floor(Math.random() * 100);
    }
</script>

</body>
</html>